package com.accp.vehiclecare.dao.xzhdao;

import com.accp.vehiclecare.pojo.Artisans;
import com.accp.vehiclecare.pojo.Groupclassify;
import com.accp.vehiclecare.vo.hzvo.Vehicletype;
import com.accp.vehiclecare.vo.xzhvo.ArmemberVO;
import com.accp.vehiclecare.vo.xzhvo.GroupclassifyVO;
import com.accp.vehiclecare.vo.xzhvo.arvehicleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


import java.util.*;

/**
 * 班组Dao
 */
public interface ArtisansDao extends BaseMapper<Artisans> {
    /**
     * 查询班组分类&班组信息  主详查询
     * @return
     */
    List<GroupclassifyVO> queryArtisans();

    /**
     * 查询班组成员
     * @param artisansid
     * @return
     */
    List<ArmemberVO> queryArmember(@Param("artisansid") Integer artisansid,@Param("armembername") String armembername);

    /**
     * 查询班组
     * @return
     */
    List<Artisans> queryShift();

    /**
     * 查询班组类别
     * @return
     */
    List<Groupclassify>queryGroupClassIfy();

    /**
     * 删除班组信息
     * @return
     */
    int deleteArtisans(@Param("artisansid") Integer artisansid);

    /**
     * 查询车辆型号
     * @return
     */
    List<Vehicletype> queryVehicleType();

    /**
     * 查询外勤车辆
     * @return
     */
    List<arvehicleVO> queryArvehicle();

}
